package com.geeklan.base.toast;

import android.app.Activity;
import android.widget.Toast;


public class ToastMessage {
    public static MyToast createToast(Activity context,String message){
        return new MyToast(context,message);
    }

    public static void showToast(Activity context,String message){
        MyToast toast = new MyToast(context,message);
        toast.show();
    }

    public static void showToastLong(Activity context,String message){
        MyToast toast = new MyToast(context,message,Toast.LENGTH_LONG);
        toast.show();
    }

    public static MyToast createToastLong(Activity context,String message){
        return new MyToast(context,message,Toast.LENGTH_LONG);
    }

}
